import { queryUrlParams } from '@/utils/index'
import request from '@/utils/request'

export function getData() {
  const data = {
    page: 0,
    size: 40,
    sort: ['term_of_validity,asc']
  }
  const param = queryUrlParams(data)
  return request({
    url: 'api/home/data?' + param,
    method: 'get'
  })
}
